package cn.botter.auth;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

//@SpringBootApplication
//排除ThymeleafAutoConfiguration类，优化springboot启动时间
@SpringBootApplication(exclude = ThymeleafAutoConfiguration.class)
@ComponentScan("cn.botter")
@MapperScan(basePackages = {"cn.botter.**.mapper" })
public class AuthStarter {

    public static void main(String[] args) {
        SpringApplication.run(AuthStarter.class,args);
    }
}
